<html xmlns:x="urn:schemas-microsoft-com:office:excel">
    <head>
        <!--[if gte mso 9]><xml>
            <x:ExcelWorkbook>
                <x:ExcelWorksheets>
                    <x:ExcelWorksheet>
                        <x:Name>${sheetName !"Sheet"}</x:Name>
                        <x:WorksheetOptions>
                            <x:Print>
                                <x:ValidPrinterInfo />
                            </x:Print>
                        </x:WorksheetOptions>
                    </x:ExcelWorksheet>
                </x:ExcelWorksheets>
            </x:ExcelWorkbook>
        </xml>
        <![endif]-->
    </head>
    <body>
        <table border="1">
        	<#if booleanResult??>
        		 <tr></td>${booleanResult}</td></tr>
        	</#if>
        	<#if integerResult??>
        		<tr></td>${integerResult}</td></tr>
        	</#if>
        	<#if headers??>
        		<tr style="background-color:yellow;">
            	<#list headers as header>
                	<td style="color:red;font-size:13px;font-weight:bold;">${header.columnName!""}</td>
                </#list>
           		</tr>
        	</#if>
        	<#if data??>
        	<#list data as row>
            <tr>
            	<#list row.cells as cell>
                <td>${cell.value!""}</td>
                </#list>
            </tr>
           </#list>
           </#if>
        </table>
    </body>
</html>
